import pandas as pd
import csv
import YTaria2

with open("log.csv", encoding='utf-8')as file:
    data = pd.read_csv(file,sep = '|',names=['name','url'])
    names = list(data.name)
    urls = list(data.url)
    for i in range(0, len(urls)):
        YTaria2.down(names[i],urls[i],"/media/leixin/064A9E9676193E21/1029")
        